package com.base.cn.platform.os.dao.statistics.goods;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.statistics.goods.ZStatisticsGoodsPVCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品PV统计Dao
 *
 * @author s.li
 * @date 2019/04/28
 */
@Mapper
public interface ZStatisticsGoodsPVCountDao extends BaseDao<ZStatisticsGoodsPVCount> {

    /**
     * 查询商品PV，以天为单位
     * @param clazz
     * @param timeSql
     * @return List<ZStatisticsGoodsPVCount>
     */
    List<ZStatisticsGoodsPVCount> queryGoodsPVCountList(@Param("clazz") Class<ZStatisticsGoodsPVCount> clazz,
                                                        @Param("timeSql") String timeSql);
}
